# -*- coding: utf-8 -*-
from __future__ import print_function, division
#系统库
#第三方库

#自定义库


#主体
class String(object):
    LG_ER_usernamepassword = '用户名密码不正确'
    LG_ER_alreadyloggedin = '用户已经登录'
    LG_ER_usernameerror = '用户名错误'
    LG_ER_passwderror = "用户密码错误"

    RG_ER_usernameregistered = '用户名已经被注册'
    RG_ER_emailregistered = '邮箱地址已经被注册'

    HL_ER_invalidname = '房间名称不合法'
    HL_ER_userinroom = '用户已经在房间内'
    HL_ER_notinroom = '用户不在房间内'
    HL_ER_nameduplicate = '已有相同名称房间'
    HL_ER_usernotexist = '用户不存在'
    HL_ER_roomnotexist = '房间不存在'
    HL_ER_cannotleave = '用户离开房间失败'
    HL_ER_gamenotexist = '游戏不存在'

    RM_ER_gotplayers = '房间内尚有玩家'
    RM_ER_passwderror = '房间密码错误'
    RM_ER_alreadyin = '玩家已经在房间内'
    RM_ER_roomfull = '房间已经满员'
    RM_ER_inanotherroom = '玩家已经在不可退出的房间内'
    RM_ER_notin = '玩家不存在'
    RM_ER_cantquit = '退出房间不合法'
    RM_ER_notowner = '玩家不是房主'
    RM_ER_cantstart = '不能开始游戏，有未准备的玩家，或者游戏已经开始'
    RM_ER_gamenotexist = '游戏不存在'

    RM_RS_normal = '未开始游戏'
    RM_RS_gaming = '游戏已开始'
    RM_RS_destroy = '房间已销毁'
    RM_US_TONORMAL = '玩家取消准备'
    RM_US_TOREADY = '玩家准备就绪'

    NT_ER_notlogin = '浏览器还未登录'

    FSM_ER_eventnotexist = '事件未注册'
    FSM_ER_eventexist = '事件已经被注册'
    FSM_ER_functionnotexist = '方法没有被提供'

    def __init__(self):
        pass
